import React from 'react';
import { Form } from 'antd';
import { FormItemProps } from 'antd/lib/form/FormItem';
import "./HYFormItem.less"
import ClassNames from 'classnames';
export interface HYFormItemProps extends FormItemProps {}

class HYFormItem extends React.Component<HYFormItemProps, any> {
  constructor(props) {
    super(props);
  }
  render() {
    const {className, ...rest} = this.props;
    return <Form.Item className={ClassNames("hy-form-item",className)} {...rest} />;
  }
}

export default HYFormItem;
